package com.lxhotel.agentmcp.mapper;

import com.lxhotel.agentmcp.entity.HotelRoomType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * This class function is xxx.
 *
 * @author yangbo
 * @date 2025/09/29
 */
@Mapper
public interface HotelRoomTypeMapper {
    @Select("SELECT * FROM hotel_room_type WHERE roomTypeName = #{hotelRoomTypeName} AND hotelId = #{hotelId} limit 1")
    HotelRoomType selectRoomTypeByName(String hotelRoomTypeName, Long hotelId);
}
